package cn.yuanyuan.guide.parser.entity;

/**
 * AST 节点定级对象
 *
 * @author wuyitao
 * @date 2022/3/26 11:50 PM
 * @updated 2022/3/27
 */
public class Node {

    private String type;

    private String value;

    public Node() {
    }

    public Node(String type, String value) {
        this.type = type;
        this.value = value;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Node{" +
                "type='" + type + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}
